﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Xml.Linq;
using System.Collections;

using System.IO;
using System.Reflection;
using System.Data;

using Microsoft.SqlServer.Management.Trace;
using Microsoft.SqlServer.Management.Smo;
using Microsoft.SqlServer.Management.Common;


namespace BlockedProcessMonitor
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Title = string.Format(
                System.Globalization.CultureInfo.InvariantCulture,
                "{0} (Press ESC to quit)",
                Assembly.GetExecutingAssembly().GetModules()[0].Name);

            Tracer t = new Tracer(args);
            t.Run();

        }
    }
}
